package com.hcb.micro.service.impl;

import java.util.List;
import java.util.Map;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.hcb.micro.dao.interfaceClass.UnionMapper;
import com.hcb.micro.dto.Union;
import com.hcb.micro.service.IUnionService;

@Service("UnionService")
public class UnionServiceImpl implements IUnionService{
	
	@Autowired
	UnionMapper unionMapper;
	
	
	@Override
	public Union selectByPrimaryKey(Integer id) {
		
		return unionMapper.selectByPrimaryKey(id);
	}

	@Override
	public List<Union> selectByPara(Map<String, Object> para) {
	
		return unionMapper.selectByPara(para);
	}
	
	@Override
	public int updateById(Map<String, Object> para){
		return unionMapper.updateById(para);
	}

	
}
